textlayout: remove use of GtkTextIter in line comparison
authorChristian Hergert <chergert@redhat.com>
Wed, 4 Sep 2019 16:12:54 +0000 (09:12 -0700)
committerChristian Hergert <chergert@redhat.com>
Wed, 4 Sep 2019 16:12:54 +0000 (09:12 -0700)
commit7cea21043ea33ab7db5fa2cdfc8bd2834285dd04
tree799f69f581ff3f795eacb7994775ea12fb4b3361
parentcbdea09c92450e5c0a3676f899c6164d7e5a9e51
textlayout: remove use of GtkTextIter in line comparison

We do not need to create a GtkTextIter to perform the comparison here as
that will require a number of validation steps that are extra work
compared to just discovering the GtkTextLine number directly.
gtk/gtktextlayout.c